import logo from "@/asset/img/logo.png";
import logo2 from '@/asset/img/topbar.png';

const { default: styled } = require("styled-components");

const LeftWrapper = styled.div`
  width: 250px;
  height: 100vh;
  background-color: var(--themeColorv2);
  color: var(--themeFontColor);
  padding: 30px;
  box-sizing: border-box;
  overflow: auto;
  user-select: none;
  &::-webkit-scrollbar {
    width: 10px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    opacity: 0.2;
    background:rgb(214,214,214);
  }
  &::-webkit-scrollbar-thumb:hover {
    background:rgb(200,200,200);
  }
  &::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
    border-radius: 0;
    background:white;
  }
  .sprite {
    background: url(${logo});
    background-size: 100%;
    width: 157px;
    height: 40px;
  }
  .sprite2{
    background: url(${logo2}) no-repeat 0 -15px;
    width: 157px;
	height: 40px;
  }

  .btns {
    margin-top: 30px;
    ul {
      li {
        margin-bottom: 10px;
        border-radius: 3px;
        a {
          display: flex;
          align-items: center;
          padding: 10px 15px;
          border-radius: 5px;
          color:var(--themeFontColor);
          .icon {
            margin-right: 10px;
          }
        }
        .active {
          background-color: rgb(30, 206, 156);
          color: white;
        }
        &:nth-child(1) {
          padding-left: 20px;
          font-size: 15px;
          color: gray;
        }
        &:nth-child(n + 2) {
          cursor: pointer;
        }
        &:nth-child(n + 2):hover {
          background-color: rgba(0, 0, 0, 0.1);
        }
        &:first-child {
        }
      }
    }
  }
`;

export default LeftWrapper;
